/*    
 * Copyright (c) 2013 ISoftStone, Inc.
 * All right reserved.
 *
 * 文件名：      PrepayJob.java
 * 作者:     Jacky Wang
 * 创建日期： 2013-9-23 下午05:30:05
 * 版本：           
 *
 */
package com.isoftstone.industry.aaa.schedule;

import javax.annotation.Resource;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Component;

import com.isoftstone.industry.aaa.core.service.accounting.IPayService;

/**
 *
 * @author jacky
 */
@Component("payJob")
public class PayJob
{
	private final Logger		logger	= Logger.getLogger(PayJob.class);

	@Resource
	private IPayService	payService;

	public void work()
	{
		logger.info("实时扣费job开始...");
		payService.timingPay4PrepaidBillingList();
		payService.timingPay4OwnFeeUsers();
		logger.info("实时扣费job结束...");
	}
}
